﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using dhsystem.Main;

namespace dhsystem
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new FrmLogin());

           // MDImain fr = new MDImain();
            FrmLogin fr = new FrmLogin();
            
            if (fr.ShowDialog() == DialogResult.OK)
            {
                MDImain main = new MDImain();
                main.WindowState = FormWindowState.Maximized;
                Application.Run(main);
                

            }
        }
    }
}
